How to handle a Tile Map Scrolling [duplicate]

Posted by DGomez on Game Development See other posts from Game Development or by DGomez
Published on 2013-07-08T13:10:32Z Indexed on 2014/05/31 3:57 UTC
Read the original article Hit count: 236

Filed under:
|
|
|
|

This question already has an answer here:

i'm making a video game, and i'm having, i think, a concept problem. The game will be a platformer which will use tile maps, so to start i will create a mask matrix indicating the tiles to be loaded, and etc..., so my problem is, how to handle the scrolling? should i create a giant mask matrix indicating in each position of the whole level what is supposed to be loaded, and according to the position of the player, change the section to be drawed?? Is this a correct approach to this situation??

© Game Development or respective owner

Related posts about 2d

Related posts about tilemap